.labelValue {
    display: flex;
    margin-bottom: 24px;
    color: rgba(0, 0, 0, 0.65);
    text-align: left;
    &.labelValueHorizontal {
        flex-direction: row;
        &:global {
            &.label-value-flex-top {
                align-items: flex-start;
            }
            &.label-value-flex-center {
                align-items: center;
            }
            &.label-value-flex-bottom {
                align-items: flex-end;
            }
        }
    }

    &.labelValueVertical {
        flex-direction: column;
        align-items: flex-start;
        .labelValueKey {
            justify-content: flex-start;
        }
    }
    .labelValueKey {
        margin-right: 10px;
        overflow: hidden;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        white-space: break-spaces;
        .labelValueKeyRequired {
            margin-right: 4px;
            color: #f5222d;
            font-size: 14px;
        }
        .labelValueKeyColon {
            width: 5px;
            margin-left: 4px;
        }
    }

    :global {
        .ant-form-item {
            margin-bottom: 0;
            .ant-form-explain {
                position: absolute;
            }
        }
    }
}

@media (max-width: 768px) {
    .labelValue {
        &.labelValueHorizontal {
            flex-direction: column;
            &:global {
                &.label-value-flex-center,
                &.label-value-flex-bottom {
                    align-items: flex-start;
                }
            }
        }
        .labelValueKey {
            justify-content: flex-start;
        }
    }
}
